import Vue from 'vue'
import {
  Button,
  Form,
  FormItem,
  Input,
  Message,
  Container,
  Main,
  Aside,
  Header,
  Menu,
  Submenu,
  MenuItem,
  Breadcrumb,
  BreadcrumbItem,
  Card,
  Row,
  Col,
  Table,
  TableColumn,
  Switch,
  Tooltip,
  Pagination,
  Dialog,
  MessageBox,
  Tag,
  Tree,
  Select,
  Option,
  Cascader,
  Alert,
  Tabs,
  TabPane,
  Steps,
  Step,
  Checkbox,
  CheckboxGroup,
  Upload,
  Image,
  Timeline,
  TimelineItem
} from 'element-ui'

Vue.use(Button).use(Form).use(FormItem).use(Input).use(Container)
Vue.use(Main).use(Aside).use(Header)
Vue.component(Message.name, Message)
Vue.use(Menu).use(Submenu).use(MenuItem)
Vue.use(Breadcrumb).use(BreadcrumbItem)
Vue.use(Card)
Vue.use(Row).use(Col)
Vue.use(Table).use(TableColumn)
Vue.use(Switch)
Vue.use(Tooltip)
Vue.use(Pagination)
Vue.use(Dialog)
Vue.component(MessageBox)
Vue.use(Tag)
Vue.use(Tree)
Vue.use(Select).use(Option)
Vue.use(Cascader)
Vue.use(Alert)
Vue.use(Tabs).use(TabPane)
Vue.use(Steps).use(Step)
Vue.use(Checkbox).use(CheckboxGroup)
Vue.use(Upload)
Vue.use(Image)
Vue.use(Timeline).use(TimelineItem)

Vue.prototype.$message = Message
Vue.prototype.$confirm = MessageBox.confirm
